import JScookie from 'js-cookie'

const TOKEN_KEY = 'cookie_token'

export function getToken() {
  return JScookie.get(TOKEN_KEY)
}

export function setToken (value) {
  JScookie.set(TOKEN_KEY, value)
}

export function removeToken () {
  JScookie.remove(TOKEN_KEY)
}
